/**
 * @author zhangshuai
 * @version V1.0
 * @Project Java2_26
 * @Package PACKAGE_NAME
 * @Description:
 * @Date 2025/5/19 16:36
 */

public class CircleImpl implements IShape<Circle>{
    @Override
    public Circle draw(Circle circle) {
        if (circle != null){
            System.out.println("绘制圆形");
        }
        return circle;
    }

    @Override
    public void print(Circle circle) {
        System.out.println("打印圆形");
    }

    public static void main(String[] args) {
        CircleImpl circle = new CircleImpl();
        Circle draw = circle.draw(new Circle(5, 20));
        System.out.println(draw);
    }
}